import Vue from 'vue'
import Router from 'vue-router'
import reg from '@/components/reg'
import login from '@/components/login'
import datas from '@/components/Data_count/index1_1'
import provincesales from '@/components/Data_count/index1_2'
import citysales from '@/components/Data_count/index1_3'
import areasales from '@/components/Data_count/index1_4'
import provinceactive from '@/components/Data_count/index1_5'
import cityactive from '@/components/Data_count/index1_6'
import areaactive from '@/components/Data_count/index1_7'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/datas',
      component: datas
    },
    {
      path: '/provincesales',
      component: provincesales
    },
    {
      path: '/citysales',
      component: citysales
    },
    {
      path: '/areasales',
      component: areasales
    },
    {
      path: '/provinceactive',
      component: provinceactive
    },
    {
      path: '/cityactive',
      component: cityactive
    },
    {
      path: '/areaactive',
      component: areaactive
    }
  ]
})
